<%@page pageEncoding="utf-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<table width='100%' height='31' border='0' cellspacing='0'
		cellpadding='0'>
	<tr>
		<td width='40'
			background='${pageContext.request.contextPath}/common/images/index_26.jpg'>&nbsp;
			
		</td>
		<!--内容区导航开始-->
		<td align='left' valign='middle'
			background='${pageContext.request.contextPath}/common/images/ctitle_bak_center.jpg'>
			<span class="channel_title">管理员管理
				<span style="color:#000;"> >> 修改管理员信息查询  >></span> </span></td>
		<!--内容区导航结束-->
		<td align='left' valign='middle'
			background='${pageContext.request.contextPath}/common/images/ctitle_bak_center.jpg'>&nbsp;
			
		</td>
		<td width='13' align='right' valign='middle'
			background='${pageContext.request.contextPath}/common/images/ctitle_bak_center.jpg'>
			<img src="${pageContext.request.contextPath}/common/images/ctitle_bak_right.jpg" height="31" width="10">
		</td>
	</tr>
</table>

<table width='100%' border='0' cellspacing='0' cellpadding='0'>
	<tr height="10%">
		<td align="left" height='31' background='${pageContext.request.contextPath}/common/images/ctitle_bak_fcenter.jpg'>
			<form action="${pageContext.request.contextPath}/sysManage/adminManage/admin.do?method=modify_show" method="post">
				<span style="fond-size:12px">查询条件：&nbsp;</span>
				<span style="fond-size:12px">用户名:</span><input type="text" id="userName" name="userName" style="WIDTH:80px">
				<span style="fond-size:12px">权     限：</span>
				<select id="purview" name="purview">
				<option value=""></option>
				<option value="系统管理员">系统管理员</option>
				<option value="图书管理员">图书管理员</option>
			</select>
				<input type="submit" value="查询">
			</form>	
		</td>		
	</tr>
	
	<tr height="285px">
		<td width="100%" valign="top">				
			<div style="overflow:auto;">			
				<table cellspacing='0' cellpadding='0' width="100%"  border="1">				
					<tr class="tabhead">
						<th>序    号</th>						
						<th>用户名</th>
						<th>权     限</th>
						<th>操    作</th>
					</tr>
					<c:forEach items="${managers}" var="manager"  varStatus="loopStatus">
						<tr>					
							<td align="center">${loopStatus.count+(thisPage-1)*10}</td>		
							<td align="center">${manager.userName}</td>
							<td align="center" >${manager.purview}</td>
							<td align="center" ><a href="${pageContext.request.contextPath}/sysManage/adminManage/admin.do?method=modify_admin&id=${manager.id}">修    改</a></td>
						</tr>
					</c:forEach>
				</table>
			</div>
		</td>
	</tr>
	<tr height="20px" align="right">
		<td>
			第${thisPage}页/共${allPage}页&nbsp;&nbsp;
			<a href="${pageContext.request.contextPath}/sysManage/adminManage/admin.do?method=show_manager&pages=first&userName=${userName}&purview=${purview}&tPage=${thisPage}">|第一页</a>|
			<a href="${pageContext.request.contextPath}/sysManage/adminManage/admin.do?method=show_manager&pages=previous&userName=${userName}&purview=${purview}&tPage=${thisPage}">上一页</a>|
			<a href="${pageContext.request.contextPath}/sysManage/adminManage/admin.do?method=show_manager&pages=next&userName=${userName}&purview=${purview}&tPage=${thisPage}">下一页</a>|
			<a href="${pageContext.request.contextPath}/sysManage/adminManage/admin.do?method=show_manager&pages=last&userName=${userName}&purview=${purview}&tPage=${thisPage}">最后一页</a>|
		</td>	
	</tr>
</table>
